package com.youi.service;

import java.util.List;
import java.util.Map;

import com.youi.entity.Store;

public interface StoreService extends BaseService<Store>{

	/**
	 * 查询门店列表
	 * @param params
	 * @param storeParams
	 * @param managerParams
	 * @param sortParams
	 * @param pageIndex
	 * @param pageNum
	 * @param gtParams
	 * @param ltParams
	 * @return
	 */
	public List<Store> getByStoreList(Map<String, Object> params,Map<String, Object> storeParams,Map<String, Object> managerParams,Map<String, Object> sortParams,
			Integer pageIndex, Integer pageNum,Map<String, Object>  gtParams,Map<String, Object> ltParams);

	/**
	 * 查询门店总数
	 * @param params
	 * @param storeParams
	 * @param managerParams
	 * @param gtParams
	 * @param ltParams
	 * @return
	 */
	public Integer  getStoreCount(Map<String, Object> params,Map<String, Object> storeParams,Map<String, Object> managerParams,
			Map<String, Object>  gtParams,Map<String, Object> ltParams);
	
	/**
	 * 获取门店id
	 * @param name
	 * @return
	 */
	public List<Long> getStoreIdList(String code);
}